package com.dzx.design.structural.proxy.staticproxy;

/**
 * @author dzx
 * @ClassName:
 * @Description: 静态代理
 * @date 2019年08月09日 10:09:25
 */
public class Test {
    
    public static void main(String[] args){
        Order order = new Order();
        order.setUserId(1);

        OrderServiceStaticProxy orderServiceStaticProxy = new OrderServiceStaticProxy();
        orderServiceStaticProxy.saveOrder(order);

    }
    
    
}
